package com.qf.dao;

import com.qf.borrower.Borrower;

import com.qf.loanapplication.Loanapplication;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
/**
 * @Classname PersonalDao
 * @Created by  yfan
 * @Date 2020/11/11  8:58
 * @Description
 */
@Mapper
//public interface PersonalDao extends JpaRepository<Borrower,Integer> {
public interface PersonalDao {
    //三表查
    public List<Borrower> findPersonal();






    //用户名及账单状态罗列
    public  List<Borrower> findPersonalZD(@Param("id") Integer id,@Param("paymentStatus") String paymentStatus);

    public  List<Borrower> findPartMessagePaymentStatus(@Param("borrowerId") Integer borrowerId,@Param("paymentStatus") String paymentStatus);
    /*
    //用户名及账单状态罗列
    public  List<Borrower> findPersonalZD(@Param("name") String name,@Param("paymentStatus") String paymentStatus);*/
    //用户名
    public  List<Borrower> findPersonalZ(@Param("id") Integer id);
}
